package validation;

import junit.framework.TestCase;

public class TestValidation extends TestCase {
	@SuppressWarnings("unused")
	private Pere e;
	protected void setUp() throws Exception {

		super.setUp();
		e= new Pere("212121","khkhjkhk");
	}


	protected void tearDown() throws Exception {
		super.tearDown();
	}


	public void testValid(){
		e= new Pere("1d11d1","ds1255sds");

		@SuppressWarnings("unused")
		Validate v=new Validate();
	//	List<ConstraintViolation> cv= v.validate(e);
		//System.out.println(e.a);

		/*for (ConstraintViolation error : cv) {
			System.out.print( error.getInvalidValue()+ "       ");
			System.out.println( error.getMessageTemplate()+ "\t" );
			
	}
*/

	}
}
